package com.xxd.dfs.namenode;

/**
 * @author: XiaoDong.Xie
 * @create: 2020-08-14 10:36
 * @description:
 */
public class EditLog {
    private long txid;
    private String op;
    private String path;

    public EditLog(long txid, String op, String path) {
        this.txid = txid;
        this.op = op;
        this.path = path;
    }

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public long getTxid() {
        return txid;
    }

    public void setTxid(long txid) {
        this.txid = txid;
    }

    @Override
    public String toString() {
        return "EditLog{" +
                "txid=" + txid +
                ", op='" + op + '\'' +
                ", path='" + path + '\'' +
                '}';
    }
}
